//
//  CommonMoudle.m
//  NiuWaJiaoYu
//
//  Created by MinLison on 2017/9/6.
//  Copyright © 2017年 niuwaketang. All rights reserved.
//

#import "CommonMoudle.h"
#import "NYWebViewController.h"
#import "TURLSessionProtocol.h"
@implementation CommonMoudle
- (void)modSetUp:(BHContext *)context
{
        [NSURLProtocol registerClass:[TURLSessionProtocol class]];
        NSURLSessionConfiguration *config = [NSURLSessionConfiguration defaultSessionConfiguration];
        config.protocolClasses = @[[TURLSessionProtocol class]];
        [AppShareRouterService addRoute:AppRoutePatternStringWithURI(kNYWebViewControllerURI) handlerClass:[NYWebViewController class]];
}
@end
